package com.m3958.firstgwt.server.model;

import javax.persistence.AttributeOverride;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import net.sf.json.JSONObject;

@Entity
@Table(name="FREE_RECORD")
@AttributeOverride(name="id",column=@Column(nullable = false,name="FREE_RECORD_ID"))
public class FreeRecord extends BaseModel<FreeRecord>{
	
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Override
	public JSONObject toJson(){
		return JSONObject.fromObject(this);
	}	

}
